package com.huifaapp.mall.bean;

import java.util.List;

/**
 * Created by mac on 2018/1/30.
 */

public class MessagetwoBean {

    /**
     * msg : 请求成功！
     * code : 10000
     * data : {"total":1,"list":[{"createTime":"2018-01-30 14:48:28","isRead":"1","name":"预估通知","id":"5ecffda3ff744dbfa81682953e3e5caa","type":"pre","content":"你的预估收益，收到100.0元了，快快去查看！"}]}
     */

    private String msg;
    private String code;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * total : 1
         * list : [{"createTime":"2018-01-30 14:48:28","isRead":"1","name":"预估通知","id":"5ecffda3ff744dbfa81682953e3e5caa","type":"pre","content":"你的预估收益，收到100.0元了，快快去查看！"}]
         */

        private int total;
        private List<ListBean> list;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * createTime : 2018-01-30 14:48:28
             * isRead : 1
             * name : 预估通知
             * id : 5ecffda3ff744dbfa81682953e3e5caa
             * type : pre
             * content : 你的预估收益，收到100.0元了，快快去查看！
             */

            private String createTime;
            private String isRead;
            private String name;
            private String id;
            private String type;
            private String content;

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getIsRead() {
                return isRead;
            }

            public void setIsRead(String isRead) {
                this.isRead = isRead;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }
        }
    }
}
